#pragma once
#include "StaffItem.h"


// AddInfo dialog

class AddInfo : public CDialog
{
	DECLARE_DYNAMIC(AddInfo)

public:
	AddInfo(CWnd* pParent = NULL);   // standard constructor
	virtual ~AddInfo();

// Dialog Data
	enum { IDD = IDD_ADD_INFO };
	CArray<CStaffItem,CStaffItem&> StaffItems;
	INT_PTR currentPosition;

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	CString m_ID;
	CString m_Name;
	CString m_Age;
	CString m_Salary;
	CString m_Part;
	/*bool flag =false;*/
	afx_msg void OnBnClickedBtnOk();
	afx_msg void OnBnClickedBtnCancel();
};
